<option value="0">All</option>
<?php foreach($this->datas as $row) { ?>
<option value="<?=$row->id?>"><?=stripcslashes($row->name)?></option>
<?php }?>